package com.atguigu.day03;

import java.util.Scanner;

public class Test1 {

    public static void main(String[] args) {
        System.out.println("请输入一个整数:");
        Scanner s = new Scanner(System.in);
        int i = s.nextInt();
        if (i % 2 == 0) {
            System.out.println(i + "是偶数");
        } else
            System.out.println(i + "是奇数");

    }
}
